﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FeiShu.Common.Helpers
{
    public static class CacheHelper
    {
        private const string SYSTEM_ID = "FeiShu";
        private const string BUSINESS_ID = "Common";

        /// <summary>
        /// 获取access token缓存key
        /// </summary>
        /// <param name="AppId"></param>
        /// <returns></returns>
        public static string GetAccessTokenKey(string AppId)
        {
            return string.Format("{0}:{1}:AccessToken:{2}", SYSTEM_ID, BUSINESS_ID, AppId);
        }

    }
}
